projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
527a804
)
Remove a stray g_object_unref
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 27 Feb 2020 19:07:12 +0000
(14:07 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 27 Feb 2020 19:31:19 +0000
(14:31 -0500)
Events are no longer objects, so this does not do
any good. Use gdk_event_unref instead.
gtk/gtkwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwidget.c
b/gtk/gtkwidget.c
index f9e06f23567cc7478e398eb1677e30c4067a48ef..65ced5f895ed7a91e0d3c34e74f26cdf8a27ed93 100644
(file)
--- a/
gtk/gtkwidget.c
+++ b/
gtk/gtkwidget.c
@@
-2105,7
+2105,7
@@
_gtk_widget_emulate_press (GtkWidget *widget,
/* Perform propagation state starting from the next child in the chain */
gtk_propagate_event_internal (event_widget, press, next_child);
- g
_objec
t_unref (press);
+ g
dk_even
t_unref (press);
}
static GdkEvent *